package com.chixing.day03_oop;

public class Phone {
    //属性
    private String phoneName;
    private float phonePrice;
    private String phoneMemory;

    //constructor

    public Phone(){

    }
    public Phone(String name,float price,String memory){
        this.phoneName = name;
        this.phonePrice = price;
        this.phoneMemory = memory;
    }

    public String getPhoneName() {
        return phoneName;
    }

    public void setPhoneName(String phoneName) {
        this.phoneName = phoneName;
    }

    public float getPhoneprice() {
        return phonePrice;
    }

    public void setPhoneprice(float phonePrice) {
        this.phonePrice = phonePrice;
    }

    public String getPhoneMemory() {
        return phoneMemory;
    }

    public void setPhoneMemory(String phoneMemory) {
        this.phoneMemory = phoneMemory;
    }
}
